package net.minecraft.src;

import java.io.DataInput;
import java.io.DataOutput;
import java.io.IOException;
import net.minecraft.src.NBTBase;

public class NBTTagDouble extends NBTBase {

   public double doubleValue;


   public NBTTagDouble() {
      super();
   }

   public NBTTagDouble(double var1) {
      super();
      this.doubleValue = var1;
   }

   void writeTagContents(DataOutput var1) throws IOException {
      var1.writeDouble(this.doubleValue);
   }

   void readTagContents(DataInput var1) throws IOException {
      this.doubleValue = var1.readDouble();
   }

   public byte getType() {
      return (byte)6;
   }

   public String toString() {
      return "" + this.doubleValue;
   }
}
